from rest_framework.serializers import ModelSerializer

from myapp.models import *


class TeacherSer(ModelSerializer):
    class Meta:
        model = Teacher
        fields = '__all__'


class StudentSer(ModelSerializer):
    class Meta:
        model = Tstu
        fields = '__all__'
